VisualComposer\Helpers\Access\Role S

Total Complexity 46
Dependencies 2
Dependents 0
Total lines 353
Lines of code 138
Logical lines of code 79
Comment lines 144
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
can()
A
51 8 26
getAllCaps()
S
57 6 16
part()
S
62 3 12
getState()
S
65 3 8
getRole()
S
66 3 9
setCapRule()
S
71 2 5
updateMergedCaps()
S
71 2 6
checkStateAny()
S
68 2 7
checkState()
S
71 2 6
getCapRule()
S
74 2 4
canAll()
S
68 2 7
canAny()
S
68 2 7
setState()
S
78 2 3
who()
S
77 1 4
getStateKey()
S
79 1 3
getPart()
S
82 1 3
setRoleName()
S
81 1 3
__toString()
S
80 1 3
getRoleName()
S
82 1 3
getMergedCaps()
S
82 1 3